<?php
class Parametro extends AppModel {

	var $name = 'Parametro';
	var $primaryKey = 'parametro';
	var $validate =array(
		'valor' => array(
			'notEmpty' => array(	
				'rule' => 'notEmpty',
				'required' => true,
				'message' => 'El valor no puede estar vacio'
			),
			'numeric' => array(
				'rule' => 'numeric',
				'required' => true,
				'message' => 'El valor debe ser numerico'),
		));
	
	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'User' => array('className' => 'User',
								'foreignKey' => 'user_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>